//package com.yu.gulimall.product.config;
//
//import com.xunqi.gulimall.order.interceptor.LoginUserInterceptor;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
///**
// * @Description:
// * @Created: with IntelliJ IDEA.
// * @author: 夏沫止水
// * @createTime: 2020-07-02 18:38
// **/
//
//@Configuration
//public class OrderWebConfig implements WebMvcConfigurer {
//
//    @Autowired
//    private LoginUserInterceptor loginUserInterceptor;
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(loginUserInterceptor).addPathPatterns("/**");
//    }
//}
